<html>
    <?php
    require_once 'Clases/tipoempleado.php';
    require_once 'menu.php';
    require_once 'Clases/funciones.php';
    ?>

    <head>
        <link href="css/xom.css" rel="stylesheet" type="text/css">

    </head>

    <body>
        <div id="area" class="contenido" >   
            <!onSubmit="return validate.check(this)"!>
            <form name="form_empleado" method="post" action="Procesa_Datos.php"  >
                <table width="74%" class="cffree"  style="width: 70%; margin-left: auto; margin-right: auto;float:center;">
                    <tr>
                        <td colspan="2" >
                            <p align="center" style="text-align:center">Los Campos Marcados con <span class="required_star"> *  </span> Son Obligatorios.</p>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label for="Full_Name" class="required">Id<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="id" id="Full_Name" maxlength="80" style="width:250px">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label for="Email_Address" class="required">Nombre<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="nombre" id="Email_Address" maxlength="100" style="width:250px">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label  class="required">Ubicacion<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <select  name="tipoempleado" type="text"  id="tipoempleado" style="font-family:Georgia ,'Times New Roman', Times, serif;font-size:16px" >
                                <option    value="-1" style="width: 225px">Seleccione tipo de empleado</option>
                                <?php
                                $otipoempleado = new tipoempleado("","");
                                $funcion = new funciones();

                                $resultado = $otipoempleado->Buscar();

                                echo $funcion->llenarCombo($resultado);
                                ?>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label for="T" class="not-required">Edad<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="edad" id="Telephone_Number" maxlength="100" style="width:250px">
                        </td>
                    </tr>
                    <td colspan="2" style="text-align:center"  class="cffree_td"><span class="cffree_td" style="text-align:center">
                            <input name="boton" type="submit" class="button" value="Guardar_Empleado">
                        </span></td>
                    </tr>

                </table>

            </form>


        </div>
    </body>
</html>